<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>TP Final: Ver Transacciones</title>
</head>
<body>
    <h1>Welcome home!</h1>
    <p>La siguiente es una lista de Clientes registrados: </p>
	<table style="margin: 0 auto 0 auto; border: 1px solid black;">
        <thead>
            <tr>
                <th>#</th>
                <th>Nombre</th>
                <th>Apellido</th>
            </tr>
        </thead>
        <tbody>
            <logic:iterate id="client" name="clientList" indexId="i">
               <tr>
                   <td>${i + 1}</td>
                   <td>${client.firstName}</td>
                   <td>${client.lastName}</td>
               </tr>
            </logic:iterate>
        </tbody>
    </table>
</body>
</html>